<?php

namespace App\Listeners;

use App\Events\AccompanySmallRoomEvent;
use App\Http\Model\AccompanySmallRoom\AwardLogs;

class AccompanySmallRoomListener
{
    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {
    }

    /**
     * Handle the event.
     *
     * @param AccompanySmallRoomEvent $event
     * @return void
     */
    public function handle(AccompanySmallRoomEvent $event)
    {
        (new AwardLogs())->sendTimingMessage($event->getRoomId());
    }
}
